import { defineConfig } from '@rsbuild/core';
import { pluginVue } from '@rsbuild/plugin-vue';
import { pluginSass } from '@rsbuild/plugin-sass';

export default defineConfig({
  plugins: [pluginVue(),pluginSass()],
  resolve: {
    alias: {
      '@': './src',
    },
  },
  environments: {
    web: {
      output: {
        target: 'web'
      }
    },
    node: {
      output: {
        target: 'node'
      }
    }
  }
});
